package sg.edu.nus.iss.vmcs.store;

/*
 * Copyright 2003 ISS.
 * The contents contained in this document may not be reproduced in any
 * form or by any means, without the written permission of ISS, other
 * than for the purpose for which it has been supplied.
 *
 */

/**
 *
 *
 * @version 3.0 5/07/2003
 * @author Olivo Miotto, Pang Ping Li
 */

public class DrinksBrand extends StoreObject {

	private int price;

	public DrinksBrand() {
	}

	public DrinksBrand(String name, int price) {
		this.price = price;
		this.name = name;
	}

	public void setPrice(int p) {
		price = p;
	}

	public int getPrice() {
		return (price);
	}
	
	@Override
	    public int hashCode()
	    {
		return super.hashCode();
	    }

	    @Override
	    public boolean equals(Object obj)    
	    {	
		return super.equals(obj);
	    }

}
